import 'package:massagist/generated/json/base/json_field.dart';
import 'package:massagist/generated/json/code_model_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class CodeModelEntity {
	late int code;
	late String msg;
	dynamic data;

	CodeModelEntity();

	factory CodeModelEntity.fromJson(Map<String, dynamic> json) => $CodeModelEntityFromJson(json);

	Map<String, dynamic> toJson() => $CodeModelEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}